<?php
namespace Sffi\ElementPlus\ElList;

class ElInput extends Column {
    protected bool $editable = true;
    protected string $placeholder;
    protected int $minLength;
    protected int $maxLength;

    public function __construct($title, $key, $dataKey, $placeholder='请输入', $minLength=0, $maxLength=0)
    {
        parent::__construct($title, $key, $dataKey);
        $this->placeholder = $placeholder;
        $this->minLength = $minLength;
        $this->maxLength = $maxLength;
    }
}